package com.yuyang.gulimall.ware.feign;

import com.yuyang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author yu yang
 * @date 2023/2/9 -15:56
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {
    @GetMapping("/order/order/getByOrderSn/{orderSn}")
    R getStatusByOrderSn(@PathVariable("orderSn") String orderSn);
}
